package com.eazy.lkv2.web.service.system.count.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.eazy.lkv2.web.entity.LoginLog;
import com.eazy.lkv2.web.service.system.count.BaiduService;
import com.rework.joss.persistence.convention.BaseDao;

@Service
public class BaiduServiceImpl extends BaseDao<LoginLog, String> implements BaiduService {

	@Override
	public List<Map<String, Object>> cityCount() {
		return sqlSessionTemplate.selectList(getMapperMethodId("cityCount"));
	}

	@Override
	public List<Map<String, Object>> areaCount() {
		return sqlSessionTemplate.selectList(getMapperMethodId("areaCount"));
	}

	@Override
	public List<Map<String, Object>> baiduLog() {
		return sqlSessionTemplate.selectList(getMapperMethodId("baiduLog"));
	}

}
